"""
You hunt, he hunts = 12 total units, 6 each, net gain of 0 for you.  
											 net gain of 0 for opponent.
											 
You hunt, he slacks = 6 total units, 3 each, net loss of 3 for you.	
											 net gain of 1 for opponent.
											 
You slack, he hunts = 6 total units, 3 each, net gain of 1 for you.	
											 net loss of 3 for opponent.
											 
You slack, he slacks = 0 total units,        net loss of 2 for you.		
										     net loss of 2 for opponent.
											 
 Using that table, you can see that slacking has a higher gain than it's hunting counterparts. At the same time,
 slacking while your partner hunts gives the highest possible yield for a player. Therefore, you want to keep
 your reputation up so that people will hunt with you, but you want to be able to slack while they hunt as much as possible.
 
 Therefore, my plan is to slack any time my reputation is above .5. I felt like having around a .5 reputation would make people
 more likely to hunt with me, giving me the possibility of getting the highest yield. Whenever my reputation drops below .5, I will hunt
 with people who have a reputation higher than .5. This is because if I hunt and my partner slacks, I will get the lowest possible yield out
 of the 4 options and I want to avoid that.
"""
from array import array

def hunt_choices(round_number, current_food, current_reputation, m,  player_reputations):
	h=array('c', [])
	for i in player_reputations:
		if current_reputation < .5:		
			if i > .5:
				letter = 'h'
			else:
				letter = 's'	
		else:
			if i > .5:
				letter = 's'
			else:
				letter = 's'
				
		h.append(letter)
		
	return h

def hunt_outcomes(food_earnings):
	pass

def round_end(award, m, number_cooperators):
	pass
